package com.eos.control.action.report.commission;

import com.eos.control.action.base.AbstractBaseAction;

public class UserStatusListAction extends AbstractBaseAction {
	private static final long serialVersionUID = 6028530237351309013L;
	private Integer customerId;
	private String imei;
	private String telephone;
	private Integer pageNum;
	private Integer numPerPage;

	public Integer getCustomerId() {
		return customerId;
	}

	public void setCustomerId(Integer customerId) {
		this.customerId = customerId;
	}

	public String getImei() {
		return imei;
	}

	public void setImei(String imei) {
		this.imei = imei;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public Integer getPageNum() {
		return pageNum;
	}

	public void setPageNum(Integer pageNum) {
		this.pageNum = pageNum;
	}

	public Integer getNumPerPage() {
		return numPerPage;
	}

	public void setNumPerPage(Integer numPerPage) {
		this.numPerPage = numPerPage;
	}

	@Override
	public String execute()  {
		try{
			if(null == pageNum || pageNum.intValue() ==0) pageNum = 1;
			if(null == numPerPage || numPerPage.intValue() ==0) numPerPage = PAGE_SIZE;
			
			
		}catch (Exception e) {
			e.printStackTrace();
		}
		return SUCCESS;
	}
}
